package cn.lopr.im.android.mvp.contact;

import cn.lopr.im.android.common.OnCallBackListener;
import cn.lopr.im.android.common.ViewBase;

/**
 * @author shuangyang7
 * @date 2021/5/20 20:04
 */
public interface IInfoContact {

    interface IInfoPresenter {
        void save();
    }

    interface IInfoView extends ViewBase {

        void updateSuccess(String message);

        void updateFailure(String message);

        String getPhone();

        String getName();

        String getIntroduction();

        String getBirth();

        String getSex();

    }

    interface IInfoModel {
        void update(String name, String birth, String introduction, String sex, OnCallBackListener<String, String> onCallBackListener);
    }
}
